#include<iostream>
using namespace std;

int main14()
{
	int a = 10, b = 10;
	cout << !a << endl;
	cout << !!a << endl;

	cout << (a && b) << endl;
	a = 10, b = 0;
	cout << (a && b) << endl;
	a = 0, b = 0;
	cout << (a && b) << endl;

	cout << (a || b) << endl;
	a = 1, b = 0;
	cout << (a || b) << endl;
	a = 1, b = 1;
	cout << (a || b) << endl;



	system("pause");
	return 0;
}